package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.CsTreegridDao;
import io.renren.entity.CsTreegridEntity;
import io.renren.service.CsTreegridService;



@Service("csTreegridService")
public class CsTreegridServiceImpl implements CsTreegridService {
	@Autowired
	private CsTreegridDao csTreegridDao;
	
	@Override
	public CsTreegridEntity queryObject(Long id){
		return csTreegridDao.queryObject(id);
	}
	
	@Override
	public List<CsTreegridEntity> queryList(Map<String, Object> map){
		return csTreegridDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return csTreegridDao.queryTotal(map);
	}
	
	@Override
	public void save(CsTreegridEntity csTreegrid){
		csTreegridDao.save(csTreegrid);
	}
	
	@Override
	public void update(CsTreegridEntity csTreegrid){
		csTreegridDao.update(csTreegrid);
	}
	
	@Override
	public void delete(Long id){
		csTreegridDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		csTreegridDao.deleteBatch(ids);
	}
	
}
